﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/SiteIntranet.Master" Inherits="System.Web.Mvc.ViewPage<dynamic>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    BuscarMantenible
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
   
    <h1>Búsqueda Mantenible</h1>
    <br />
    <br />

    <link rel="stylesheet" href="<%: Url.Content("~/Content/jquery-ui.css") %>" />

    <link rel="stylesheet" href="<%: Url.Content("~/Content/jPages.css") %>" />
    <script type="text/javascript" src="<%: Url.Content("~/Scripts/jPages.js") %>"></script>

    <script type="text/javascript" src="<%: Url.Content("~/Scripts/Validaciones.js") %>" type="text/javascript"></script>
    <script type="text/javascript" src="<%: Url.Content("~/Scripts/Mantenible.js") %>" type="text/javascript"></script>
    <div id = "Buscar">    
                               <label>Nombre:</label>
                               <input type="text" id="BscTbxNombre" class="text ui-widget-content ui-corner-all"/>
                               <br></br>
                            
                               <label>Tipo:</label>
                               <input name="BscRbnTipoMantenible" type="radio" value="Activo" style="width:30px;" class="text ui-widget-content ui-corner-all"/><label style="width:10px; text-align:left">Activo</label>
                               <input name="BscRbnTipoMantenible" type="radio" value="No Activo" style="width:75px;" class="text ui-widget-content ui-corner-all"/><label style="width:250px; text-align:left">No Activo</label>
                               <br></br>
                               
                               <label>Edificio:</label>
                               <select id="BscSctEdificio" onchange="cargarAreaComunesB();" class="text ui-widget-content ui-corner-all"></select>
                               <br></br>

                               <label>Area Comun:</label>
                               <select id="BscSctAreaComun" class="text ui-widget-content ui-corner-all"></select>
                               <br></br>
                               
                               <label>Costo Inicial(S/.):</label>
                               <input type="text" id="BscTbxCostoIncial" class="text ui-widget-content ui-corner-all" onkeypress="return permite(this,event, 'num',true)"/>
                               <br></br>
                           
                               <label>Costo Final(S/.):</label>
                               <input type="text" id="BscTbxCostoFinal" class="text ui-widget-content ui-corner-all" onkeypress="return permite(this,event, 'num',true)"/>
                               <br></br>

                               <label>Peso Inicial(Kg.):</label>
                               <input type="text" id="BscTbxPesoInicial"  class="text ui-widget-content ui-corner-all" onkeypress="return permite(this,event, 'num',true)"/>
                               <br></br>
                               
                               <label>Peso Final(Kg.):</label>
                               <input type="text" id="BscTbxPesoFinal" " class="text ui-widget-content ui-corner-all" onkeypress="return permite(this,event, 'num',true)"/>
                               <br></br>         

                               <label>Área Inicial(m2):</label>
                               <input type="text" id="BscTbxAreaInicial" class="text ui-widget-content ui-corner-all" onkeypress="return permite(this,event, 'num',true)"/>
                               <br></br>
                               
                               <label>Área Final(m2):</label>
                               <input type="text" id="BscTbxAreaFinal" class="text ui-widget-content ui-corner-all" onkeypress="return permite(this,event, 'num',true)"/>
                               <br></br>

                               <input type="submit" id = "BscBtnBuscar" value="Buscar" class="submit-button" />
                               <input type="submit" id = "BscBtnLimpiarB" value="Limpiar" class="submit-button"/>
                               <input type="submit" id = "BscBtnCancelar" value="Cancelar" class="submit-button" /><br></br>


<div id = "tablaDinamica">
     
</div>

<div class="holder" id="holder"></div>

<span id="Modificar"><input id="BscBtnModificar" type="submit" value="Modificar"/></span>
<span id="Eliminar"><input id="BscBtnEliminar" type="submit" value="Eliminar"/></span>
     
</div>
<div id="dialog-form" title="Modificar Mantenible">
    <p class = "validateTips">Modifique los campos que crea necesarios</p>

    <fieldset>
        
                               <label>Nombre(*) :</label>
                               <input type="text" id="BvmTbxNombreMantenible" readonly="readonly" class="text ui-widget-content ui-corner-all"/>
                               <label id="BvmLblErrorNombre" class="erroresClase" style="color: Red"></label><br></br>

                               <label>Tipo(*) :</label>
                               <input name="BvmRbnTipoMantenibleMantenible"  type="radio" value="Activo" style="width:30px;" class="text ui-widget-content ui-corner-all"/><label style="width:10px; text-align:left">Activo</label>
                               <input name="BvmRbnTipoMantenibleMantenible"  type="radio" value="No Activo" style="width:75px;" class="text ui-widget-content ui-corner-all"/><label style="width:250px; text-align:left">No Activo</label>
                               <label id="BvmLblErrorTipoMantenible" class="erroresClase" style="color: Red"></label><br></br>
                               
                               <label>Edificio(*) :</label>
                               <select id="BvmSctEdificioMantenible" onchange="cargarAreaComunesM();" class="text ui-widget-content ui-corner-all"></select>
                               <label id="BvmLblErrorEdificio" class="erroresClase" style="color: Red"></label><br></br>

                               <label>Area Comun :</label>
                               <select id="BvmSctAreaComunMantenible" class="text ui-widget-content ui-corner-all"></select><br></br>
                                                             
                               <label>Costo(S/.):</label>
                               <input type="text" id="BvmTbxCostoMantenible" class="text ui-widget-content ui-corner-all" onkeypress="return permite(this,event, 'num',true)"/>
                               <label id="BvmLblErrorCosto" class="erroresClase" style="color: Red"></label><br></br>

                               <label>Peso(Kg.):</label>
                               <input type="text" id="BvmTbxPesoMantenible" class="text ui-widget-content ui-corner-all" onkeypress="return permite(this,event, 'num',true)"/>
                               <label id="BvmLblErrorPeso" class="erroresClase" style="color: Red"></label><br></br>          

                               <label>Área(m2):</label>
                               <input type="text" id="BvmTbxAreaMantenible" class="text ui-widget-content ui-corner-all" onkeypress="return permite(this,event, 'num',true)"/>
                               <label id="BvmLblErrorArea" class="erroresClase" style="color: Red"></label><br></br>

    </fieldset>
</div>
</asp:Content>






